/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package skeleton;

import javax.swing.JFrame;

/**
 *
 * @author Administrator
 */
public class Skeleton  extends JFrame  {
 public Skeleton() {
     //put the Board to the center of the JFrame component.
        add(new Board());
        setTitle("Skeleton");
        //close the application when we click on the close button. It is not the default behaviour.
        setDefaultCloseOperation(EXIT_ON_CLOSE);
        //the size for our window.
        setSize(300, 280);
        //We center the window.
        setLocationRelativeTo(null);

        setVisible(true);
        // Make the window unresizable.
        setResizable(false);
    }
    public static void main(String[] args) {
        new Skeleton();
    }
}
